{/* LAYOUT模板 */}
	<layout name="layout"/>
{/* LAYOUT模板 */}

{/* import Js,Css */}
	<js href="__PUBLIC__/js/admin/listTable.js"/>
	<js href="__PUBLIC__/js/admin/js.util.js"/>
	<css href="__PUBLIC__/css/admin/common.css"/>
	<js href="__PUBLIC__/js/admin/js.selectzone.js"/>
	
	<css href="__PUBLIC__/css/jquery-ui.css" />
	<js href="__PUBLIC__/js/core/jquery-ui.1.10.4.js" />
	<js href="__PUBLIC__/js/core/plugins.js"/>
{/* import js,css */}

<!-- [position] -->
	<include file="Template:position"/>
<!-- [position] -->

<form method="post" action="" name="listForm">
	<div class="list-div" id="listDiv">
		<table cellpadding="3" cellspacing="1" width="100%">
			<tr>
				<th><a href="javascript:listTable.sort('pack_name'); ">商品包装名称</a>{$sort_pack_name}</th>
				<th><a href="javascript:listTable.sort('pack_fee'); ">费用</a>{$sort_pack_fee}</th>
				<th><a href="javascript:listTable.sort('free_money');">免费额度</a>{$sort_free_money}</th>
				<th>包装描述</th>
				<th>操作</th>
			</tr>
			<volist name="packs_list" id="pack">
			<tr>
				<td class="first-cell">
					<if condition="$pack['pack_img']">
						<a href = "../data/packimg/{$pack.pack_img}" target="_brank">
							<img src="__PUBLIC__/Image/Admin/picflag.gif" width="16" height="16" border="0" alt="" />
						</a>
					<else/>
						<img src="__PUBLIC__/Image/Admin/picnoflag.gif" width="16" height="16" border="0" alt="" />
					</if>
					<span onclick="listTable.edit(this, 'edit_name', {$pack.pack_id})">{$pack.pack_name}</span>
				</td>
				<td align="right">
					<span onclick="listTable.edit(this, 'edit_pack_fee', {$pack.pack_id})">{$pack.pack_fee}</span>
				</td>
				<td align="right">
					<span onclick="listTable.edit(this, 'edit_free_money', {$pack.pack_id})">{$pack.free_money}</span>
				</td>
				<td>{$pack.pack_desc}</td>
				<td align="center" nowrap="true" valign="top">
					<a href="__URL__/mod_pack?id={$pack.pack_id}" title="修改">
						<img src="__PUBLIC__/Image/Admin/icon_edit.gif" border="0" height="16" width="16">
					</a>
					<a href="__URL__/remove_pack?id={$pack.pack_id}" onclick="listTable.remove({$pack.pack_id}, '确定删除')" title="移除">
						<img src="__PUBLIC__/Image/Admin/icon_drop.gif" border="0" height="16" width="16">
					</a>
				</td>
			</tr>
			</volist>
		</table>
	</div>
</form>



<script type="text/javascript" language="JavaScript">
	onload = function(){
		// 开始检查订单
		startCheckOrder();
	}
</script>

